﻿using DLL.NET60.DB.MS.Entity.DTO;
using DLL.NetStandard.FlushRobot.MS.Entity.Param;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DLL.FlushRobot.MS.Run
{
    public class Surplus_COneLoopStations : ICloneable
    {
        public double adviceDrugDose = 0;
        public double adviceDrugRealDose = 0;
        public int[] NeedSolventCount = new int[8] { 0, 0, 0, 0, 0, 0, 0, 0 };
        public float[] DrugDose = new float[8] { 0, 0, 0, 0, 0, 0, 0, 0 };
        public DTO_adi_dic_drug UsedDrug = new DTO_adi_dic_drug();
        public DTO_adi_dic_drug UsedSolvent = new DTO_adi_dic_drug();
        public CMS_DeviceConfigParam DeviceConfig = new CMS_DeviceConfigParam();//设备参数
        public COneLoopStations OneLoopStation = new COneLoopStations();

        public object Clone()
        {
            Surplus_COneLoopStations oneLoop = new Surplus_COneLoopStations();
            oneLoop.adviceDrugDose = this.adviceDrugDose;
            oneLoop.adviceDrugRealDose = this.adviceDrugRealDose;
            oneLoop.NeedSolventCount = this.NeedSolventCount;
            oneLoop.DrugDose = this.DrugDose;
            oneLoop.UsedSolvent = (DTO_adi_dic_drug)this.UsedSolvent.Clone();
            oneLoop.UsedDrug = (DTO_adi_dic_drug)this.UsedDrug.Clone();
            oneLoop.DeviceConfig = this.DeviceConfig;
            oneLoop.OneLoopStation = (COneLoopStations)this.OneLoopStation.Clone();
            return oneLoop;
        }
    }
}